package com.ithero.contentcenter.configuration;

import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;
import ribbonconfiguration.RibbbonConfiguration;

// Java代码配置方式
//@Configuration
// 细粒度控制
//@RibbonClient(name = "user-center", configuration = RibbbonConfiguration.class)   // user-center的负载均衡配置类
//全局配置
//@RibbonClients(defaultConfiguration = RibbbonConfiguration.class)
public class UserCenterRibbonConfiguration {
}
